package com.itheima.elasticsearchdemo2.mapper;

import com.itheima.elasticsearchdemo2.domain.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zero
 * @date 2020/6/23
 */

@Mapper
@Repository
public interface GoodsMapper {

    /**
     *
     * 查询所有
     * @return
     */
    List<Goods> findAll();
}
